package cn.th.service;

import cn.th.dto.UserDto;
import cn.th.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author cn.th
 * @since 2024-03-30
 */
public interface IUserService extends IService<User> {

    Map<String, Object> queryUser(int page, int limit, String school, String name, String sex, String myClass, String sno, String location, String major, String academy, String dormitory, String dormitoryNumber, String state);

    ResponseEntity<String> saveFile(MultipartFile file);

    void deleteById(String ids);

    void updateWithId(UserDto userDto);

    UserDto getUserDtoById(Long id);
}
